let hd = {
    name: 'hayward',
    year:2019
}

// console.log(Object.entries(hd))
for (const [keys, values] of Object.entries(hd)) {
    console.log(keys)
    // console.log(values)
}